home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CU Amiga Super CD-ROM 18
/
CU Amiga Magazine's Super CD-ROM 18 (1997)(EMAP Images)(GB)[!][issue 1998-01].iso
/
CUCD
/
Programming
/
ModemLink
/
Source
/
ModemTags.c
< prev
next >
Wrap
C/C++ Source or Header
|
1997-10-24
|
1KB
|
39 lines
/*
** NAME: ModemDevTags.c
** DESC: Contains the ...Tags() version of the Modem related commands. All
** these do is call the corresponding routines in modemlink.LIB.
** Make sure to not link with this if using the modemlink.device.
**
** AUTHOR: DATE: DESCRIPTION:
** ~~~~~~~~~~~~~~ ~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
** Mike Veroukis 13 Mar 1997 Created
*/
#include <devices/serial.h>
#include <utility/tagitem.h>
#include "ModemTags.h"
#include "Modem.h"
ULONG ML_SendModemCMDTags(struct IOExtSer *SerIO, char *CMD, ULONG data, ...)
{
struct TagItem *tags = (struct TagItem *)&data;
return (ML_SendModemCMDTagList(SerIO, CMD, tags));
}
ULONG ML_DialTags(struct IOExtSer *SerIO, char *PhoneNum, ULONG data, ...)
{
struct TagItem *tags = (struct TagItem *)&data;
return (ML_DialTagList(SerIO, PhoneNum, tags));
}
ULONG ML_AnswerTags(struct IOExtSer *SerIO, ULONG data, ...)
{
struct TagItem *tags = (struct TagItem *)&data;
return (ML_AnswerTagList(SerIO, tags));
}